map Non Null
inline fun <D, T : Any, R> ReadOnlyProperty<D, T?>.mapNonNull(crossinline read: (T) -> R): ReadOnlyProperty<D, R?>
Content copied to clipboard
Map reads from a delegate if the delegate's value is non-null.
inline fun <D, T : Any> ReadWriteProperty<D, T?>.mapNonNull(crossinline read: (T) -> T): ReadWriteProperty<D, T?>
Content copied to clipboard
Map reads from a delegate if the value is non-null
inline fun <D, T : Any, R> ReadWriteProperty<D, T?>.mapNonNull(crossinline read: (T) -> R, crossinline write: (R) -> T): ReadWriteProperty<D, R?>
Content copied to clipboard
Map reads from and writes to a delegate if the value is non-null